﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
	x:Class="urBook.Gui.ElementView"
	x:Name="UserControl">

	<Grid>
		<ComboBox x:Name="type" HorizontalAlignment="Left" Width="80" Height="24" Margin="8" SelectionChanged="type_SelectionChanged">
			<ComboBoxItem Content="Home"/>
			<ComboBoxItem Content="Work"/>
			<ComboBoxItem Content="Cell"/>
			<ComboBoxItem Content="Fax"/>
			<ComboBoxItem Content="Internet"/>
		</ComboBox>
		<TextBox x:Name="value" Margin="96,8,60,8" HorizontalAlignment="Stretch" TextChanged="value_TextChanged"/>
        <CheckBox x:Name="isPreffered" Margin="40,8"
            HorizontalAlignment="Right" VerticalAlignment="Center" ToolTip="default" Click="isPreffered_Click"/>
        <Image x:Name="deleteElement" Source="data/images/delete_32.png" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="8" MouseLeftButtonDown="deleteElement_MouseDown" Width="16" Height="16" ToolTip="Delete" />
    </Grid>
</UserControl>